const arr = [
	90,168,382,194,103,201,1138
,56,149,490,220,93,260,1268
,64,133,328,216,193,298,1232
,210,450,1200,630,389,759,3638
	
];

const left = [210,450,1200,630,389,759,3638]
const right = [1138, 1268, 1232];

const data = Array(10).fill(0).reduce((p, _, index) => {
if (index === 0) {
	p[arr[27].toString()] = [
			left,
			[arr[6], arr[6 + 1 * 7], arr[6 + 2 * 7]]
		]
	} else if (index === 1) {
		p[arr[21].toString()] = [
			left,
			[arr[0], arr[0 + 1 * 7], arr[0 + 2 * 7]]

		]
	} else if (index === 2) {
		p[arr[22].toString()] = [
			left,
			[arr[1], arr[1 + 1 * 7], arr[1 + 2 * 7]]
		]
	} else if (index === 3) {
		p[arr[23].toString()] = [
			left,
			[arr[2], arr[2 + 1 * 7], arr[2 + 2 * 7]]
		]
	} else if (index === 4) {
		p[arr[24].toString()] = [
			left,
			[arr[3], arr[3 + 1 * 7], arr[3 + 2 * 7]]
		]
	} else if (index === 5) {
		p[arr[25].toString()] = [
			left,
			[arr[4], arr[4 + 1 * 7], arr[4 + 2 * 7]]
		]
	} else if (index === 6) {
		p[arr[6].toString()] = [
			[arr[0 * 6 + 0], arr[0 * 6 + 1], arr[0 * 6 + 2], arr[0 * 6 + 3], arr[0 * 6 + 4], arr[0 * 6 + 5]],
			right
		]
	} else if (index === 7) {
		p[arr[6 + 7 * 1].toString()] = [
			[arr[1 * 6 + 0], arr[1 * 6 + 1], arr[1 * 6 + 2], arr[1 * 6 + 3], arr[1 * 6 + 4], arr[1 * 6 + 5]],
			right
		]
	}
	else if (index === 8) {
		p[arr[6 + 7 * 2].toString()] = [
			[arr[2 * 6 + 0], arr[2 * 6 + 1], arr[2 * 6 + 2], arr[2 * 6 + 3], arr[2 * 6 + 4], arr[2 * 6 + 5]],
			right
		]
	}
	return p;
}, {});

const str = JSON.stringify(data)
console.log(str)